import { http } from '@/utils'

export function updateMiniUserInfo(data: { nickname: string; avatar: string }) {
  return http.post('/paas/paasminiprogramuser/saveInfo', data)
}

export function updatePwd(data: any) {
  return http.post<any>('/paas/paasuser/updatePassword', data, {
    joinParamsToUrl: true
  })
}
